package com.nebula.poi.mapper;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.nebula.poi.pojo.User;

import java.util.List;

/**
 * @Author: llq
 * @Date: 2019/9/20
 */
public interface UserMapper extends BaseMapper<User> {
    List<User> selectUsers();

    void updateUserByName(User user);

    void addUser(User user);

    int selectByName(String username);

}
